package com.uniledger.commonlib.pinkeyboard;

import com.google.gson.Gson;
import com.google.gson.annotations.SerializedName;

public class ThirdPayInfo {
    public String data;
    public String currency;

    public PayInfo payInfo;

    public ThirdPayInfo(String data,String currency) {
        this.data = data;
        this.currency=currency;
        this.payInfo = new Gson().fromJson(data, PayInfo.class);
    }

    public static class PayInfo {
        @SerializedName("Name")
        public String name;

        @SerializedName("Times")
        public String times;

        @SerializedName("Balance")
        public String balance;

        @SerializedName("Issuer")
        public String issuer;
    }
}
